]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Fix dash sliding animation with multiple monitors
authorGiovanni Campagna <gcampagna@src.gnome.org>
Fri, 1 Mar 2013 23:16:34 +0000 (00:16 +0100)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Fri, 1 Mar 2013 23:26:39 +0000 (00:26 +0100)
We used to clip the overview group to prevent the dash from sliding into
neighbor monitors, but now it moved to the groupStack, so we must move
the clip too.

https://bugzilla.gnome.org/show_bug.cgi?id=694970

js/ui/overview.js

index 485a34279dd6fcb607446476eaff227cc2816a67..3ee87fa0bded614c94c23bf0d6629708a228cd1c 100644 (file)
@@ -130,11 +130,11 @@ const Overview = new Lang.Class({
         this._overview._delegate = this;
 
         this._groupStack = new St.Widget({ layout_manager: new Clutter.BinLayout(),
-                                           x_expand: true, y_expand: true });
+                                           x_expand: true, y_expand: true,
+                                           clip_to_allocation: true });
         this._group = new St.BoxLayout({ name: 'overview-group',
                                          reactive: true,
-                                         x_expand: true, y_expand: true,
-                                         clip_to_allocation: true });
+                                         x_expand: true, y_expand: true });
         this._groupStack.add_actor(this._group);
 
         this._backgroundGroup = new Meta.BackgroundGroup();